export default {
    //开启命名空间
    namespaced:true,
    state:{
        name:"许运科"
    },
    getters: {
        newName(state){
            return state.name + '的模块'
        }
    },
    mutations: {
        CHANGE_NAME(state){
            state.name = '被修改了'
        }
    },
    actions: {
        init(){
            console.log('发起异步');
        }
    },
}